// 把components所以组件都进行全局注册
// 插件化的方式

import ImageView from '@/components/ImageView/index.vue'
import Sku from './XtxSku/index.vue'
import XtxSteps from "@/components/xtx-steps.vue";
import XtxStepsItem from "@/components/xtx-steps-item.vue";

export const componentsPlugin = {
    install(app){
        // app.component('组件名',配置对象)
        app.component('XtxImageView',ImageView)
        app.component('XtxSku',Sku)
        app.component('XtxSteps',XtxSteps)
        app.component('XtxStepsItem',XtxStepsItem)
    }
}